<!DOCTYPE HTML>
<html>
<body>
    <script type="text/javascript" src="./WdatePicker.js"></script>
<input type="text" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
<script type="text/javascript">
</script>

</body>
</html>